/*  var id = getvl("id");
  $(function(){
	  if(id!=''){
	  	zijingguanli(id);
	 
	  }else{
	  	alert("请传入参数...");
	  }
});*/
zijingguanli();
function zijingguanli(){
	$.ajax({      
		url: urlcore + "/api/userAccount/selectUserAccountDetails",
		type: "get",
		dataType: 'json',
		contentType: "application/json;charset=utf-8",
		success:function(data){
			if (data.success == true) {
			
         //map.put("blockMoney",blockMoney); //冻结金额
        //map.put("balanceMoney",balanceMoney); //可用余额
       // map.put("allMoney",allMoney);  
       // map.put("getMoneySum",getMoneySum); 
       // map.put("sendMoneySum",sendMoneySum);
       // map.put("forAccountMoney",big);blockMoney
	          var blockMoney=data.data.balanceMoney; //可用余额
	          var getMoneySum=data.data.getMoneySum; //累计收入
	          var sendMoneySum=data.data.sendMoneySum; //累计支出
	          var forAccountMoney=data.data.forAccountMoney;//待结算
	          
              $("#keyongyue").html("&yen;"+blockMoney);
              $("#leijishouru").html(getMoneySum);
              $("#leijixiaofei").html(sendMoneySum);
              		 $("#chakanmingxi").attr("href","../buy/12.12.1wodeyue_chakan.html?id="+uuuuid);
	
              $("#daijiesuan").html(forAccountMoney);
			}
		},
		error:function() {
			/* Act on the event */
			alert("error");
		}
	});	

}
	
	function yinhang(){
	   if(uuuuid!=""){
	   	location.href="../buy/12.7.4shezhi_bank.html?id="+uuuuid;
	   }
		
	}
	
	function tixian(){
		
		    if(uuuuid!=''){
		    	 location.href="25.2.0zijinguanli_tixian.html?id="+uuuuid;
		    }
		   
		
	}
	


function chongzhis(){
	
	     location.href="../12.3.0chongzhi.html";
	     /*../12.1.0zhifu_chongzhi.html?userzhanghu=1*/
}
